import {Injectable} from '@angular/core';
import {BaseHttpService} from './base-http.service';
import {PageInfo, SearchCommonVO, temperatureManage} from '../types';
import {Observable} from 'rxjs';

@Injectable({
  providedIn: 'root'
})
export class UserTemperatureService {

  constructor(public http: BaseHttpService) {
  }

  public getUserTemperatureList(param: SearchCommonVO<any>): Observable<PageInfo<temperatureManage>> {
    return this.http.post('/temperature-user', param);
  }

  public getUserTemperatureDetail(param: SearchCommonVO<any>): Observable<PageInfo<temperatureManage>> {
    return this.http.post('/temperature-detail', param);
  }

}
